<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>砍价活动</title>
		<link rel="stylesheet" href="../css/bootstrap.min.css" />
		<link rel="stylesheet" href="../css/common.css" />
	</head>

	<body>
		<div class="container-fluid">
			<div class="row">
				<div class="col-xs-12 col-sm-3 col-lg-2 big-menu">
					<div id="search-menu">
						<input class="form-control input-lg" style="border-radius:0; font-size:14px; height:43px;" type="text" placeholder="输入菜单名称可快速查找">
					</div>
					<div class="btn-group">
						<button class="btn btn-primary ext-type" data-id="1">默认</button>
						<button class="btn btn-default ext-type" data-id="2">系统</button>
						<button class="btn btn-default ext-type" data-id="3">复合</button>
					</div>
					<div class="panel panel-default">
						<div class="panel-heading">
							<h4 class="panel-title">模块列表</h4>
							<a class="panel-collapse collapsed" data-toggle="collapse" href="javascript:;">
								<i class="fa fa-chevron-circle-down"></i>
							</a>
						</div>
						<ul class="list-group collapse in" id="frame-0">
							<a class="list-group-item" href="javascript:;"><i class="fa fa-reply-all"></i>返回模块列表</a>
							<a class="list-group-item" href="javascript:;"><i class="fa fa-reply-all"></i>返回超级砍价</a>
						</ul>
					</div>
					<div class="panel panel-default">
						<div class="panel-heading">
							<h4 class="panel-title">回复规则</h4>
							<a class="panel-collapse collapsed" data-toggle="collapse" href="javascript:;">
								<i class="fa fa-chevron-circle-down"></i>
							</a>
						</div>
						<ul class="list-group collapse in" id="frame-rule">
							<a class="list-group-item" href="javascript:;"><i class="fa fa-cog"></i>参数设置</a>
						</ul>
					</div>
					<div class="panel panel-default">
						<div class="panel-heading">
							<h4 class="panel-title">业务菜单</h4>
							<a class="panel-collapse collapsed" data-toggle="collapse" href="javascript:;">
								<i class="fa fa-chevron-circle-down"></i>
							</a>
						</div>
						<ul class="list-group collapse in" id="frame-menu">
							<a class="list-group-item" href="javascript:;"><i class="fa fa-puzzle-piece"></i>砍价管理</a>
							<a class="list-group-item" href="javascript:;"><i class="fa fa-puzzle-piece"></i>商家管理</a>
						</ul>
					</div>
				</div>
				<div class="conts col-xs-12 col-sm-9 col-lg-10">
					<ul class="nav nav-tabs">
						<li class="active"><a href="javascript:;">账号概况 - 扩展功能概况 - 砍价活动</a></li>
					</ul>
					<div class="clearfix welcome-container">
						<div class="page-header">
							<h4><i class="fa fa-plane"></i> 核心功能设置</h4>
						</div>
						<div class="shortcut clearfix">
							<a href="javascript:;">
								<i class="fa fa-cog"></i>
								<span title="参数设置">参数设置</span>
							</a>
						</div>
						<div class="page-header">
							<h4><i class="fa fa-plane"></i> 业务功能菜单</h4>
						</div>
						<div class="shortcut clearfix">
							<a href="javascript:;" title="砍价管理">
								<i class="fa fa-puzzle-piece"></i>
								<span id="cut">砍价管理(点击)</span>
							</a>
							<a href="javascript:;" title="商家管理">
								<i class="fa fa-puzzle-piece"></i>
								<span>商家管理</span>
							</a>
						</div>
					</div>
				</div>
				<div style="display:none" class="conts col-xs-12 col-sm-9 col-lg-10">
					<ol class="breadcrumb" style="padding:5px 0;">
						<li><a href="inner.html"><i class="fa fa-cogs"></i>扩展功能</a></li>
						<li id="return"><a href="javascript:;">营销及活动模块 - 超级砍价</a></li>
						<li class="active">砍价管理</li>
					</ol>
					<ul class="nav nav-tabs cut-lis">
						<li class="active">
							<a href="javascript:;">砍价管理</a>
						</li>
						<li>
							<a href="javascript:;">添加砍价</a>
						</li>
						<li>
							<a href="javascript:;">微店模式添加砍价</a>
						</li>
					</ul>
					<div class="main">
						<div class="panel panel-default">
							<div class="panel-body">
								<div class="table-responsive">
									<table class="table table-hover" style="table-layout: auto;">
										<thead>
											<tr>
												<th class="text-center">序号</th>
												<th class="text-center">发布者</th>
												<th>产品名称</th>
												<th>活动时间</th>
												<th class="text-center">底价/元</th>
												<th class="text-center">库存</th>
												<th class="text-center">已售</th>
												<th class="text-center">参与/人</th>
												<th class="text-center">助力/人</th>
												<th class="text-center">状态</th>
												<th class="text-right">操作</th>
											</tr>
										</thead>
										<tbody>
											<tr>
												<td class="text-center">1</td>
												<td class="text-center">lengying</td>
												<td>999元做韩式水雾眉送美瞳线</td>
												<td>2015-12-18至2016-01-01</td>
												<td class="text-center">999</td>
												<td class="text-center">5</td>
												<td class="text-center">5</td>
												<td class="text-center">90</td>
												<td class="text-center">635</td>
												<td class="text-center">
													<label class="label label-danger">待审核</label>
												</td>
												<td class="text-right">
													<a class="btn btn-default btn-sm" href="javascript:;" target="_blank" data-toggle="tooltip" data-placement="top" data-original-title="右键复制活动链接">链接</a>
													<a class="btn btn-default btn-sm" href="javascript:;" data-toggle="tooltip" data-placement="top" data-original-title="订单">订单</a>
													<a class="btn btn-default btn-sm" href="javascript:;" data-toggle="tooltip" data-placement="top" data-original-title="参与用户">用户</a>
													<a class="btn btn-default btn-sm" href="javascript:;" data-toggle="tooltip" data-placement="top" data-original-title="编辑">编辑</a>
													<a class="btn btn-default btn-sm" href="javascript:;" data-toggle="tooltip" data-placement="top" data-original-title="删除" onclick="if(!confirm('删除后将不可恢复,确定删除吗?')) return false;">删除</a>
												</td>
											</tr>
										</tbody>
									</table>
								</div>
							</div>
							<div style="display:none" class="panel-body">
								<div class="box-wrap">
									<div class="box-title">基本信息</div>
									<div class="box-cont" id="addActivity">
										<form class="get-input" method="POST" enctype="multipart/form-data" action="http://localhost/activity">
											用户:<input type="text" name="userId" class="form-control" value="">
											活动数量：<input type="text" name="number" class="form-control" value="">
											活动地址：<input type="text" name="address" class="form-control" value="">
											活动价格：<input type="text" name="price" class="form-control" value="">
											活动底价：<input type="text" name="buttonPrice" class="form-control" value="">
											最小砍价：<input type="text" name="bargainMin" class="form-control" value="">
											最大砍价：<input type="text" name="bargainMax" class="form-control" value="">
											砍价次数：<input type="text" name="bargainNumber" class="form-control" value="">
											主图图片：<input type="file" name="main" class="form-control">
											附图：<input type="file" name="appended" class="form-control">
											二维码：<input type="file" name="shopewm" class="form-control">
											活动须知：<input type="text" name="rules" class="form-control" value="">
											活动说明1：<input type="text" name="instructions" class="form-control" value="">
											活动说明2：<input type="text" name="instructions2" class="form-control" value="">
											活动开始时间：<input type="text" name="strintTime" class="form-control" value="">
											活动结束时间：<input type="text" name="endTime" class="form-control" value="">
											联系电话：<input type="text" name="phone" class="form-control" value="">
											<input type="submit" value="提交">
										</form>
								<!--		<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label"> 数量
									              <span class="text-danger">*</span>
											</label>
											<div class="col-sm-4 col-md-5">
												<input type="text" name="number" class="form-control" value="">
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label"> 封面
									              <span class="text-danger">*</span>
											</label>
											<div class="col-sm-4 col-md-5">-->
												<!--<input type="text" name="cover" value="" class="form-control" autocomplete="off">
												<input type="file" value="选择图片" name="file" class="webuploader-element-invisible" accept="image/*">-->
												<!--<form name="uploadForm" id="uploadForm" method="post" enctype="multipart/form-data"
													  action="/cars/api/v1/template/createTemplate" target="uploadFrame">
													<p style="margin:10px 0;">上传图片: &nbsp;&nbsp;
														<input type="file" name="imageFile" ID="fupPhoto"/>
														<input type="text" name="brand" ID="brand" />
														<input type="submit" id="fileSubmit" name="Submit" value="上传" />
														<iframe name="uploadFrame" id="uploadFrame" style="display:none;"></iframe>
													</p>
												</form>

												<img id="imgPhoto" src="" width="300">-->
												<!--<div data-pic="constractorAuthorization1" data-purl="">上传图片</div>
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label"> 活动地址
									              <span class="text-danger">*</span>
											</label>
											<div class="col-sm-4 col-md-5">
												<input type="text" name="address" class="form-control" value="">
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label"> 活动价格
									              <span class="text-danger">*</span>
											</label>
											<div class="col-sm-4 col-md-5">
												<input type="text" name="price" class="form-control" value="">
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label"> 活动底价
									              <span class="text-danger">*</span>
											</label>
											<div class="col-sm-4 col-md-5">
												<input type="text" name="buttonPrice" class="form-control" value="">
											</div>
										</div><div class="form-group">
											<label class="col-sm-2 col-md-2 control-label"> 最小砍价
									              <span class="text-danger">*</span>
											</label>
											<div class="col-sm-4 col-md-5">
												<input type="text" name="bargainMin" class="form-control" value="">
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label"> 最大砍价
									              <span class="text-danger">*</span>
											</label>
											<div class="col-sm-4 col-md-5">
												<input type="text" name="bargainMax" class="form-control" value="">
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label"> 砍价次数
									              <span class="text-danger">*</span>
											</label>
											<div class="col-sm-4 col-md-5">
												<input type="text" name="bargainNumber" class="form-control" value="">
											</div>
										</div>
										<div class="form-group">
									        <div class="col-md-offset-2 col-md-5">
									            <button class="btn btn-primary" id="submit" type="submit" name="submit" value="1">提交</button>
									        </div>
        								</div>-->
										<!--<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label">封面
								            	<span class="text-danger">*</span>
								            </label>
											<div class="col-sm-4 col-md-5">
												<div class="input-group ">
													<input type="text" name="cover" value="" class="form-control" autocomplete="off">
													<span class="input-group-btn">
														<button class="btn btn-default" type="button" onclick="">选择图片</button>
													</span>
												</div>
												<div class="input-group " style="margin-top:.5em;">
													<img src="" onerror="" class="img-responsive img-thumbnail" width="150">
													<em class="close" style="position:absolute; top: 0px; right: -14px;" title="删除这张图片" onclick="deleteImage(this)">×</em>
												</div>
												<div class="text-danger">建议上传660像素*440像素的图片，显示效果更佳。</div>
											</div>
										</div>-->
										<!--<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label"> 活动时间
        										<span class="text-danger">*</span>
    										</label>
											<div class="col-sm-4 col-md-5">
												<input name="time[start]" type="hidden" value="2017-02-13 11:37">
												<input name="time[end]" type="hidden" value="2017-02-13 11:37">
												<button class="btn btn-default daterange daterange-time" type="button" data-original-title="" title=""><span class="date-title">2017-02-13 11:37 至 2017-02-13 11:37</span> <i class="fa fa-calendar"></i></button>
											</div>
										</div>-->
									<!--	<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label">联系方式</label>
											<div class="col-sm-4 col-md-5">
												<input type="text" name="tel" class="form-control" value="" placeholder="可填写座机或者手机">
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label">购买方式</label>
											<div class="col-sm-4 col-md-10">
												<select class="form-control" name="buy_type">
									                <option value="0" selected="selected">参与活动</option>
									                <option value="1">砍到底价</option>
									                <option value="2">人工处理</option>
									            </select>
												<div class="help-block">
													参与活动即可购买或者砍到底价才能购买，前者有利于销售产品，后者有利于吸粉。当不满足以上两种方式时，可用人工处理自由规划购买流程和方法。
												</div>
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label">参与须知</label>
											<div class="col-sm-4 col-md-10">
												<div class="help-block">参与须知模版：
													<a href="javascript:;" target="_blank">点击查看</a>
												</div>
											</div>
										</div>-->
									</div>
								</div>
								<!--<div class="box-wrap">
									<div class="box-title">产品信息</div>
									<div class="box-cont">
										<div class="form-group">
									        <label class="col-sm-2 col-md-2 control-label">名称
									            <span class="text-danger">*</span>
									        </label>
									        <div class="col-sm-4 col-md-5">
									        	<input type="text" name="product_name" class="form-control" value="">
									        </div>
								        </div>
										<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label"> 图片
										            <span class="text-danger">*</span>
										    </label>
											<div class="col-sm-4 col-md-5">
												<div class="input-group ">
													<input type="text" name="product_image" value="" class="form-control" autocomplete="off">
													<span class="input-group-btn">
														<button class="btn btn-default" type="button" onclick="">选择图片</button>
													</span>
												</div>
												<div class="input-group " style="margin-top:.5em;">
													<img src="" onerror="" class="img-responsive img-thumbnail" width="150">
													<em class="close" style="position:absolute; top: 0px; right: -14px;" title="删除这张图片" onclick="">×</em>
												</div>
												<div class="text-danger">建议上传400像素*400像素的图片，显示效果更佳。</div>
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label">原价
									            <span class="text-danger">*</span>
										    </label>
											<div class="col-sm-4 col-md-5">
												<div class="input-group">
													<input type="text" name="product_price" class="form-control" value="0">
													<span class="input-group-addon">元</span>
												</div>
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label">底价
										        <span class="text-danger">*</span>
										    </label>
											<div class="col-sm-4 col-md-5">
												<div class="input-group">
													<input type="text" name="product_pricelow" class="form-control" value="0">
													<span class="input-group-addon">元</span>
												</div>
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label">库存
										            <span class="text-danger">*</span>
										          </label>
											<div class="col-sm-4 col-md-5">
												<input type="number" name="product_inventory" class="form-control" value="">
											</div>
										</div>
										<div class="form-group">
										    <label class="col-sm-2 col-md-2 control-label">产品链接</label>
											<div class="col-sm-4 col-md-10">
												<input type="text" name="product_url" class="form-control" value="">
											</div>
										</div>
									</div>
								</div>
							--></div>
							<div style="display:none" class="panel-body">
								<div class="box-wrap">
									<div class="box-title">微店产品链接</div>
									<div class="box-cont">
										<div class="form-group">
											<label class="col-sm-2 col-md-2 control-label">链接地址
										        <span class="text-danger">*</span>
										    </label>
											<div class="col-sm-4 col-md-10">
												<input type="text" name="url" class="form-control" value="">
											</div>
										</div>
										<div class="form-group">
									        <div class="col-md-offset-2 col-md-5">
									            <button class="btn btn-primary" type="submit" name="submit" value="1">提交</button>
									        </div>
        								</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
	<script src="../js/jquery-1.11.0.js"></script>
	<script src="../js/cut.js"></script>

</html>